module.exports = {
  /**
   * 是否是开发环境
   */
  isDev: process.env.NODE_ENV === 'development',
  /**
   * 主要title
   */
  title: 'PMS',
  /**
   * @type {string}
   * @description token
   */
  tokenKey: 'china-tower-token',
  /**
   * @type {boolean} true | false
   * @description Whether show the settings right-panel
   */
  showSettings: true,
  /**
   * @type {boolean} true | false
   * @description Whether need tagsView
   */
  tagsView: true,
  /**
   * @type {boolean} true | false
   * @description Whether fix the header
   */
  fixedHeader: false,
  /**
   * @type {boolean} true | false
   * @description Whether show the logo in sidebar
   */
  sidebarLogo: false,
  /**
   * @type {string | array} 'production' | ['production', 'development']
   * @description Need show err logs component.
   * The default is only used in the production env
   * If you want to also use it in dev, you can pass ['production', 'development']
   */
  errorLog: 'production',
  /**
   * 是否单点登录
   */
  sso: {
    /**
     * @type {boolean} true | false
     * @description 单点登录，true为启用，false为不启用
     */
    enable: false,
    /**
     * @type {string}
     * @description 内部单点登录链接
     */
    url: '',
    /**
     * @type {string}
     * @description 指定url上token的参数名称
     */
    tokenKey: '_tk'
  }
}
